namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using SimpleWebServices.Data;
    using SimpleWebServices.Models;
    using SimpleWebServices.Web.UI.Html.Elements;
    using SimpleWebServices.Web.UI.Html.Validation;
    using Xunit;

    public sealed class IContainFormFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IContainForm).IsInterface);
        }

        [Fact]
        public void IContainForm_Form_get()
        {
            try
            {
                Form value = (new IContainFormDummy() as IContainForm).Form;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_Token_set()
        {
            try
            {
                (new IContainFormDummy() as IContainForm).Token = Token.Empty;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_ValidatorSettings_get()
        {
            try
            {
                ValidatorSettingsCollection value = (new IContainFormDummy() as IContainForm).ValidatorSettings;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_Complete_FormSession()
        {
            try
            {
                (new IContainFormDummy() as IContainForm).Complete(null as FormSession);
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_Render_int()
        {
            try
            {
                string value = (new IContainFormDummy() as IContainForm).Render(123);
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_TemplateOfT()
        {
            try
            {
                IContainForm value = (new IContainFormDummy() as IContainForm).Template<IContainForm>();
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IContainForm_PopulatedOfT()
        {
            try
            {
                IContainForm value = (new IContainFormDummy() as IContainForm).Populated<IContainForm>();
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}